package cn.kgc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//根据token返回用户信息
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ItemCurrentUserByTokenVo {
    //用户主键
    private Long userId;
    //邮箱/手机号
    private String phone;
    //微信号
    private String wxUserId;
    //真实用户姓名
    private String realName;
    //用户昵称
    private String nickName;
    //性别(0:男,1:女)
    private Long sex;
    //身份证
    private String idCard;
    //生日
    private String birthday;
    //创建时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //更新时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
    //爱好
    private String hobby;
    //头像ID
    private Long imageId;
    //头像图片URL
    private String imgUrl;
}
